﻿
function showDialogWindow(control, url, title, width, height, dialogClassName) {
    if (!control) {
        return;
     }

    var dialog = $create(Kevin.Controls.DialogWindow,
                            { 'ControlID': control.id,
                                'Url': url,
                                "Title": title,
                                "DialogClassName": dialogClassName,
                                "Width": width,
                                "Height": height
                            }, null, null, control);

    dialog.Show();
    return false;
}